package com.xxxx.yebserver.service;

import com.xxxx.yebserver.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.yebserver.vo.MenusWithRoleVo;
import com.xxxx.yebserver.vo.RoleWithMenuVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxq
 * @since 2021-06-15
 */
public interface RoleService extends IService<Role> {

    List<Role> getRoles(Long adminId);

    List<RoleWithMenuVo> getRoleWithMenu(Long rid);

    List<Long> getRoleWithMenuById(Long rid);
}
